using System;
using System.Collections.Generic;
using System.Drawing;
using System.Text;
using OpenComposite.Base.Designer;

namespace OpenComposite.EII.Designer.BObjects
{
	public class BORowConnector : Connector
	{
		#region Initialization
		public BORowConnector()
		{
			init();
		}
		private void init()
		{
			this.BeginUpdate();

			//this.Name = "boRowConnector" + GetCount(typeof(BORowConnector));
			this.Text = "";

			this.Size = new System.Drawing.Size(5, 5);

			this.EndUpdate();
		}
		#endregion

		#region Public Members

		#region Properties (Overrided)
		public override bool CanFocused
		{
			get
			{
				return false;
			}
		}
		public override bool CanMove
		{
			get
			{
				return false;
			}
		}
		public override bool CanResize
		{
			get
			{
				return false;
			}
		}
		public override bool CanSelect
		{
			get
			{
				return false;
			}
		}
		public override bool NoClip
		{
			get
			{
				return true;
			}
		}
		#endregion

		#region Methods (Overrided)
		public override void Dispose()
		{
			base.Dispose();
		}

		public override void PaintBackground(System.Windows.Forms.PaintEventArgs pe)
		{
			Rectangle rect = this.GetPaintBounds();
			pe.Graphics.FillEllipse(Brushes.DarkGreen, rect);
		}
		public override void Paint(System.Windows.Forms.PaintEventArgs pe)
		{
			Rectangle rect = this.GetPaintClientArea();
		}

		#endregion

		#endregion

		#region Private Members

		#region Variables
		#endregion

		#endregion
	}
}
